package com.ztgf.message.model.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 公告消息DTO
 *
 * @author YUE
 * @Date 2020-05-28 16:20:54
 */
@Data
@TableName("message_announcement")
@ApiModel(value="通知消息对象", description="通知消息对象")
public class MessageAnnouncementDTO extends BaseDTO implements Serializable {
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "文本类型 0小喇叭，1文字、2图文")
    private Integer textType;
    @ApiModelProperty(value = "状态 0未读，1已读")
    private Integer status;
    @ApiModelProperty(value = "类型 0系统消息，1服务消息")
    private Integer type;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "公司名字")
    private String companyName;
    @ApiModelProperty(value = "1买家 2卖家 3后台")
    private Integer shopType;
    @ApiModelProperty(value = "关键字")
    private String key;
    @ApiModelProperty(value = "跳转类型 0不用跳 1订单 2发票 3物流 4签署合同 5投诉建议消息 6到货提示 7催促发货 8售后订单消息 9库存报警 10订单状态改变 11废弃合同")
    private String jumpType;
    @ApiModelProperty(value = "0未删除 1删除")
    private Integer deleted;
    @ApiModelProperty(value = "发送人的id（后台用）")
    private Long sendId;
    @ApiModelProperty(value = "发送人的名字（后台用）")
    private String sendName;
    @ApiModelProperty(value = "分组id")
    private Long gpId;
    @ApiModelProperty(value = "发布类型 0全部用户 1全部店铺 2全部旗舰店 3全部专卖店 4全部专营店 5全部买家 6自定义")
    private String sendTo;
    @ApiModelProperty(value = "询盘订单类型;0普通、1询价")
    private Integer purchaseOrderType;
}